export const defaultQueryPage = (data,current,size,total) =>{
    const config = {
        current : !!current?current:1,
        size: !!size?size:5,
        total: !!total?total:0,
        data: !!data?data:{}
    }
    return config
}

export const defaultResultPage = (result,pegeInfo) =>{
    pegeInfo.current = Number(result.current);
    pegeInfo.size = Number(result.size);
    pegeInfo.total = Number(result.total);
}
